-
Home
-
Uncanny Automator – Easy Automation, Integration, Webhooks & Workflow Builder Plugin
-
5.4
-
Code
-
Classes
- Api_Server
| Total Complexity |
86 |
| Dependencies |
2 |
| Dependents |
61 |
| Total lines |
694 |
| Lines of code |
351 |
| Logical lines of code |
194 |
| Comment lines |
176 |
| Methods |
29 |
| Properties |
5 |
Methods 29
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| maybe_throw_exception() |
A |
55 |
8 |
17 |
| api_call() |
S |
50 |
6 |
28 |
| maybe_log_action() |
S |
54 |
6 |
20 |
| maybe_log_trigger() |
S |
52 |
5 |
23 |
| is_automator_connected() |
S |
56 |
5 |
19 |
| get_item_name() |
S |
59 |
5 |
14 |
| get_license() |
S |
51 |
4 |
28 |
| call() |
S |
52 |
4 |
25 |
| maybe_add_optional_params() |
S |
52 |
3 |
27 |
| get_license_type() |
S |
66 |
4 |
8 |
| add_api_headers() |
S |
61 |
3 |
13 |
| filter_params() |
S |
63 |
3 |
10 |
| has_valid_license() |
S |
66 |
3 |
7 |
| has_credits() |
S |
63 |
3 |
10 |
| get_response_credits() |
S |
64 |
3 |
10 |
| get_response_body() |
S |
67 |
3 |
7 |
| get_instance() |
S |
71 |
2 |
6 |
| default_api_timeout() |
S |
70 |
2 |
6 |
| add_endpoint_parts() |
S |
66 |
2 |
8 |
| create_payload() |
S |
64 |
2 |
10 |
| get_response_code() |
S |
72 |
2 |
6 |
| charge_usage() |
S |
61 |
1 |
13 |
| add_trigger_meta() |
S |
60 |
1 |
13 |
| __construct() |
S |
66 |
1 |
7 |
| set_instance() |
S |
80 |
1 |
3 |
| is_api_url() |
S |
78 |
1 |
3 |
| get_license_key() |
S |
74 |
1 |
4 |
| get_site_name() |
S |
78 |
1 |
3 |
| add_log() |
S |
80 |
1 |
3 |